package com.ruoyi.historyVideo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 历史视频对象 qcl_history_video
 *
 * @author ruoyi
 * @date 2024-11-26
 */
@TableName(value = "qcl_history_video")
@Data
public class HistoryVideo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID 编号
     */
    @Excel(name = "ID 编号")
    private Long id;

    /**
     * 设备号
     */
    @Excel(name = "设备号")
    private Long monitorNo;

    /**
     * 视频地址
     */
    @Excel(name = "视频地址")
    private String videoAddr;

    /**
     * 班级名
     */
    @Excel(name = "班级名")
    private String className;

    /**
     * 学校名
     */
    @Excel(name = "学校名")
    private String schoolName;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMonitorNo() {
        return monitorNo;
    }

    public void setMonitorNo(Long monitorNo) {
        this.monitorNo = monitorNo;
    }

    public String getVideoAddr() {
        return videoAddr;
    }

    public void setVideoAddr(String videoAddr) {
        this.videoAddr = videoAddr;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("monitorNo", getMonitorNo())
                .append("videoAddr", getVideoAddr())
                .append("className", getClassName())
                .append("schoolName", getSchoolName())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
